//package edu.sctu.zhoudie.mouth201505.day20150524.TextTwo;
//
///**
// * Created by user08 on 2015/5/24.
// */
//
//
//
//public class TextOne extends TextMore {
//    Student[] studentcode2 = new Student[teacher[1].student.length];
//    Student[] studentcode3 = new Student[6];
//
//    public TextOne(Teacher[] teacher) {
//        super(teacher);
//    }
//
//    public void getTeacherInfo() {
//        sotrNumber();
//        System.out.println("老师编号排序：");
//        System.out.println(teacher[0].number + " " + teacher[0].name + " " + teacher[0].sex + " " + teacher[0].profession + " " + teacher[0].lesson);
//        System.out.println(teacher[1].number + " " + teacher[1].name + " " + teacher[1].sex + " " + teacher[1].profession + " " + teacher[1].lesson);
//
//
//    }
//
//    public Student[] getStudent(int code, Student[] student) {
//        Student[] studentcode1 = new Student[student.length];
//        System.out.println("学生成绩大于60：");
//        for (int i = 0; i < student.length; i++) {
//            if (student[i].grade >= code) {
//                studentcode1[i] = student[i];
//
//                System.out.println(student[i].number + " " + student[i].name + " " + student[i].grade);
//            }
//        }
//        return studentcode1;
//    }
//
//    public Student[] getCode() {
//
//        Teacher teacher = pritCoded();
//        Student[] studentnumber = interFace.getStudents(teacher.student);
//        return studentnumber;
//    }
//
//    StudentInterface interFace = new StudentInterface() {
//        @Override
//        public Student[] getStudents(Student[] student) {
//            Student[] studentnumber = getStudent(60, student);
//            return studentnumber;
//        }
//    };
//
//
//}
